package com.tianji.contract.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 陈佳
 * @since 2024-10-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ParkBill对象", description="")
public class ParkBill extends Model<ParkBill> {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "账单编号")
    private String billNo;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "账单金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "账单状态")
    private String status;

    @ApiModelProperty(value = "账单到期时间")
    private LocalDateTime dueDate;

    @ApiModelProperty(value = "账单创建时间")
    private LocalDateTime createdAt;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updatedAt;

    @ApiModelProperty(value = "备注信息")
    private String remark;


    @Override
    public Serializable pkVal() {
        return this.id;
    }

}
